package com.nm.service.page;

import java.util.List;

/**
 * Created by hewu on 2017/2/15 0015.
 */
public class PageEntity<T> {

    //每页记录数
    public int pageSize;
    //当前所在页
    public int pageIndex;

    //总记录数
    public int totalSize;

    public List<T> data;

    public int getTotalSize() {
        return totalSize;
    }

    public void setTotalSize(int totalSize) {
        this.totalSize = totalSize;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
